package com.nervenets.web.controller.handler.admin.wealth;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserWithdrawCheckParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "目标用户ID")
    private int targetUserId;
    @NeedValidation(type = Type.POSITIVENUMBER, description = "当前审核的流水ID")
    private int withdrawId;
    @NeedValidation(type = Type.EMPTY, description = "审核成功或失败的参数,true为成功，false为失败")
    private boolean success;
    @NeedValidation(type = Type.EMPTY, description = "审核原因，可不传值")
    private String reason;
}
